<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:s="http://jboss.com/products/seam/taglib"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich">
        
     <style>
        .center{
            text-align:center;
        }
    </style>
    
    	<rich:dataTable onRowMouseOver="this.style.backgroundColor='#00BFFF'"
                		onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
               			cellpadding="0" cellspacing="0" var="_chuvas" value="#{chuvaAction.listaDeChuvas}" 
               			columnClasses="center" id="listaChuvasEntity3">
				
				<rich:column>
					<f:facet name="header">
		                <h:outputText value="Ano"/>
	                </f:facet>
					<h:outputText value="#{_chuvas.ano}">
					</h:outputText>
				</rich:column>

				<rich:column>
					<f:facet name="header">
		                <h:outputText value="Máxima"/>
	                </f:facet>
					<h:outputText id="txtMaxima" value="#{_chuvas.maximaDia}">
						<f:convertNumber maxFractionDigits="2" /> 
					</h:outputText>
				</rich:column>
				
				<rich:column>
					<f:facet name="header">
		                <h:outputText value="Probabilidade"/>
	                </f:facet>
					<h:outputText id="campoProbabilidade" value="#{_chuvas.probabilidade}">
						<f:convertNumber maxFractionDigits="5" /> 
					</h:outputText>
				</rich:column>
				
				<rich:column>
					<f:facet name="header">
		                <h:outputText value="Tempo de Recorrência"/>
	                </f:facet>
					<h:outputText id="campoTR" value="#{_chuvas.tempoRecorrencia}">
						<f:convertNumber maxFractionDigits="3" /> 
					</h:outputText>
				</rich:column>
				
				<rich:column>
					<f:facet name="header">
		                <h:outputText value="Gumbel"/>
	                </f:facet>
					<h:outputText id="txtGumbel" value="#{_chuvas.gumbel}">
						<f:convertNumber maxFractionDigits="3" /> 
					</h:outputText>
				</rich:column>
				
				<rich:column>
					<f:facet name="header">
		                <h:outputText value="Exponencial"/>
	                </f:facet>
					<h:outputText id="txtExponencial" value="#{_chuvas.exponencial}">
						<f:convertNumber maxFractionDigits="3" /> 
					</h:outputText>
				</rich:column>
				
		</rich:dataTable>
</ui:composition>    